import summonedBase
from data import *

class PeaBullet(summonedBase.SummonedBase):
    def __init__(self,surface,pos) :
        path = data.get('peaBullet').get('imagePath')
        size = data.get('peaBullet').get('size')
        speed = data.get('peaBullet').get('speed')
        atk = data.get('peaBullet').get('atk')
        moveLength = SCREEN_SIZE[0]-pos[0]
        gap = -1 #不切换图片
        liveTime = -1 #不会死亡 当碰到僵尸或出界改为0
        super().__init__(surface,path,size,pos,speed,gap,liveTime,moveLength,atk)



